package Demo2;

public class Brid extends Animal implements IFiy,IRun{
    public Brid(String name) {
        super(name);
    }

    @Override
    public void func() {
        System.out.println(name + "正在奔跑");
    }

    @Override
    public void run() {
        System.out.println(name + "正在飞翔");
    }
}
